package com.example.live.api

import com.example.common.api.BaseApiService
import com.example.common.entity.BaseResponse
import com.example.common.entity.SimpleVideoEntity
import com.example.live.entity.GoodsEntity
import com.example.live.entity.LiveEntityItem
import com.example.live.entity.UserEntity
import retrofit2.http.GET
import retrofit2.http.Query

interface LiveServerApi : BaseApiService {
    @GET("/videosimple/getRecommendSimpleVideo")
    suspend fun getRecommendSimpleVideo(@Query("page") page: Int, @Query("pagesize") pageSize:Int): BaseResponse<List<LiveEntityItem>>
    @GET("/goods/info")
    suspend fun getGoodsInfo(@Query("category_id") category_id: Int,@Query("currentPage") currentPage: Int,@Query("pageSize") pageSize: Int,@Query("room_id") room_id: String): BaseResponse<List<GoodsEntity>>
    @GET("/user/getUsers")
    suspend fun getUser():BaseResponse<List<UserEntity>>
}